var C_NUMBER_RE 	= '\\b(0x[A-Za-z0-9]+|\\d+(\\.\\d+)?)';
var UNDERSCORE_IDENT_RE = '[a-zA-Z_][a-zA-Z0-9_]*';
var C_KEYWORDS 		= { 'abstract': 1, 'event': 1, 'new': 1, 'struct': 1, 'as': 1, 'explicit': 1, 'null': 1, 'switch': 1, 'base': 1, 'extern': 1, 'object': 1, 'this': 1, 'bool': 1, 'false': 1, 'operator': 1, 'throw': 1, 'break': 1, 'finally': 1, 'out': 1, 'true': 1, 'byte': 1, 'fixed': 1, 'override': 1, 'try': 1, 'case': 1, 'float': 1, 'params': 1, 'typeof': 1, 'catch': 1, 'for': 1, 'private': 1, 'uint': 1, 'char': 1, 'foreach': 1, 'protected': 1, 'ulong': 1, 'checked': 1, 'goto': 1, 'public': 1, 'unchecked': 1, 'class': 1, 'if': 1, 'readonly': 1, 'unsafe': 1, 'const': 1, 'implicit': 1, 'ref': 1, 'ushort': 1, 'continue': 1, 'in': 1, 'return': 1, 'using': 1, 'decimal': 1, 'int': 1, 'sbyte': 1, 'virtual': 1, 'default': 1, 'interface': 1, 'sealed': 1, 'volatile': 1, 'delegate': 1, 'internal': 1, 'short': 1, 'void': 1, 'do': 1, 'is': 1, 'sizeof': 1, 'while': 1, 'double': 1, 'lock': 1, 'stackalloc': 1, 'else': 1, 'long': 1, 'static': 1, ' enum': 1, 'namespace': 1, 'string': 1, 'partial': 1 };

LANGUAGES.csh = {
  defaultMode: {
    lexems: [UNDERSCORE_IDENT_RE],
    illegal: '</',
    contains: ['comment', 'number', 'string'],
    keywords: C_KEYWORDS
  },
  modes: [
    {
      className: 'comment',
      begin: '///', end: '$',
      contains: ['xml'],
      relevance: 0
    },
    {
      className: 'comment',
      begin: '//', end: '$',
      relevance: 10
    },
    {
      className: 'number',
      begin: C_NUMBER_RE, end: '^',
      relevance: 0
    },
    {
      className: 'string',
      begin: '"', end: '"',
      //begin: '"', end: '(^|[^\\\\])"',
      relevance: 0
    },
    {
      className: 'xml',
      begin: '<', end: '>'
    }
  ]
};//csh

if(refreshing==1) { updated['csh'] = 1; }